.container {
    width: 1226px;
    margin: 0 auto;
}

.header {
    font-size: 12px;
    border-bottom: 2px solid #ff6700;
    background: #fff;
    color: #b0b0b0;
    position: relative;
    z-index: 20;
    height: 100px;

    .menu_bar_logo {
        float: left;
        width: 93px;
        margin-top: 26px;

        .bar_logo {
            position: relative;
            display: block;
            width: 55px;
            height: 55px;
            background-color: #ff6700;
            overflow: hidden;

            .mi_logo {
                position: absolute;
                left: 0;
                top: 0;
                width: 55px;
                height: 55px;
                display: block;
                background: url(../images/index/mi-logo.png) no-repeat 50% 50%;
            }

            .mi_home {
                position: absolute;
                left: -55px;
                top: 0;
                width: 55px;
                height: 55px;
                display: block;
                background: url(../images/index/mi-home.png) no-repeat 50% 50%;
            }
        }
    }

    .header-text {
        height: 48px;
        float: left;
        margin-top: 26px;

        h2 {
            float: left;
            line-height: 48px;
            margin-bottom: 0;
            font-size: 28px;
            color: #424242;
        }

        p {
            float: left;
            height: 20px;
            line-height: 20px;
            margin-top: 20px;
            margin-left: 15px;
            color: #757575;
        }
    }

    .header-logIn {
        .header-logIn-box {
            position: relative;
            float: right;
            height: 40px;
            line-height: 40px;
            margin-top: 30px;

            a {
                padding: 0 5px;
                text-align: center;
                color: #757575;
            }
        }
    }
}

// 中间购物车
.srcipt {
    padding: 38px 0;
    background: #f5f5f5;

    .car-wrap {
        background-color: #fff;

        .car-goods-list {
            .list-head {
                height: 70px;
                line-height: 70px;
                padding-right: 26px;
                color: #424242;

                .col {
                    float: left;

                    .icon-xuanze {
                        margin-right: 15px;
                    }
                }

                .col-img {
                    width: 120px;
                }

                .col-name {
                    width: 380px;
                }

                .col-total {
                    color: #424242;
                }
            }

            .item-box {
                padding: 15px 26px 15px 0;
                border-top: 1px solid #e0e0e0;

                .item-table {
                    display: table;
                    border-collapse: collapse;
                    border-spacing: 0;

                    .item-row {
                        display: table-row;

                        .col {
                            display: table-cell;
                            vertical-align: middle;
                        }
                    }
                }

                .col-img {
                    width: 80px;
                    height: 80px;
                    padding-right: 40px;
                    overflow: hidden;
                    a{
                        img{
                            width: 80px;
                            height: 80px;
                        }
                    }
                }

                .tags {
                    margin-bottom: 6px;
                }
            }

            .col-name {
                .name {
                    line-height: 1;
                    margin-top: 8px;
                    margin-bottom: 8px;
                    font-size: 18px;
                    font-weight: 400;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    overflow: hidden;

                    a {
                        color: #424242;
                        font-size: 14px;
                    }
                }
            }

            .col-num {
                .change-goods-num {
                    width: 148px;
                    height: 38px;
                    border: 1px solid #e0e0e0;
                    text-align: center;
                    background-color: #fff;
                    position: relative;
                    zoom: 1;

                    a {
                        float: left;
                        width: 38px;
                        height: 38px;
                        line-height: 38px;
                        color: #757575;
                        font-size: 20px;
                        -webkit-transition: all .3s;
                        transition: all .3s;

                        &:hover {
                            background-color: #e0e0e0;
                        }
                    }

                    input {
                        float: left;
                        width: 72px;
                        height: 38px;
                        line-height: 38px;
                        padding: 0;
                        border-width: 0;
                        color: #424242;
                        font-size: 16px;
                        text-align: center;
                    }
                }
            }

            .col-total {
                color: #ff6700;
                font-size: 16px;
            }

            .col-action {
                .del {
                    display: inline-block;
                    width: 24px;
                    height: 24px;
                    line-height: 24px;
                    text-align: center;
                    border-radius: 12px;
                    color: #757575;
                    font-size: 16px;
                    -webkit-transition: all .3s;
                    transition: all .3s;

                    &:hover {
                        color: #fff;
                        background-color: #e53935;
                    }
                }
            }
        }
    }
}

.car-container {
    .container-main {
        .raise-buy-box {
            margin: 20px 0;
        }

        .cart-bar {
            height: 50px;
            text-align: right;
            background-color: #fff;
            -webkit-transition: background .3s ease, top .3s ease;
            transition: background .3s ease, top .3s ease;
            position: relative;

            a {
                transition: all 0.3s;
                color: #757575;
            }

            .section-left {
                float: left;
            }

            .back-shopping {
                line-height: 50px;
                margin-left: 32px;

                &:hover {
                    color: #ff6700;
                }
            }

            .cart-total {
                margin-left: 16px;
                padding-left: 16px;
                border-left: 1px solid #eee;
                color: #757575;

                i {
                    color: #ff6700;
                }

            }

            .total-price {
                padding-left: 13px;
                color: #ff6700;

                em {
                   
                    font-style: normal;
                    font-size: 30px;
                }
            }

            .btn {
                width: 200px;
                height: 48px;
                line-height: 48px;
                font-size: 18px;
                margin-left: 50px;
                vertical-align: top;
            }

            .no-select-tip {
                width: 200px;
                height: 48px;
                line-height: 48px;
                position: absolute;
                top: -58px;
                right: 0;
                background-color: #fff;
                border: 1px solid #ff6700;
                color: #ff6700;
                text-align: center;

                .arrow {
                    display: block;
                    width: 0;
                    height: 0;
                    border-style: solid dashed dashed;
                    overflow: hidden;
                    position: absolute;
                    left: 50%;
                }

                .arrow-a {
                    bottom: -8px;
                    margin-left: -10px;
                    border-width: 8px 10px 0;
                    border-color: #ff6700 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
                    z-index: 1;
                }

                .arrow-b {
                    bottom: -7px;
                    margin-left: -8px;
                    border-width: 7px 8px 0;
                    border-color: #fff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
                    z-index: 2;
                }
            }
        }
    }

}



.btn-disabled {
    background: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    color: #b0b0b0 !important;
    cursor: default !important;
}

.btn {
    display: inline-block;
    width: 158px;
    height: 38px;
    padding: 0;
    margin: 0;
    border: 1px solid #b0b0b0;
    font-size: 14px;
    line-height: 38px;
    text-align: center;
    color: #b0b0b0;
    cursor: pointer;
    -webkit-transition: all .4s;
    transition: all .4s;
}

// 公共样式
.srcipt {
    .car-container {
        .container-main {
            .car-wrap {
                .car-goods-list {

                    //选择
                    .col-check {
                        width: 110px;

                        .icon-xuanze {
                            display: inline-block;
                            width: 18px;
                            height: 18px;
                            line-height: 18px;
                            border: 1px solid #e0e0e0;
                            margin-left: 24px;
                            background-color: #fff;
                            color: #fff;
                            font-size: 20px;
                            text-align: center;
                            vertical-align: middle;
                            position: relative;
                            top: -1px;
                            cursor: pointer;

                            &:hover {
                                color: #757575;
                            }
                        }
                    }

                    //商品名称
                    .col-name {
                        width: 380px;
                    }

                    //单价
                    .col-price {
                        width: 140px;
                        padding-right: 18px;
                        text-align: center;
                        color: #424242;
                    }

                    //数量
                    .col-num {
                        width: 150px;
                        text-align: center;
                        color: #424242;

                    }

                    //小计
                    .col-total {
                        width: 120px;
                        padding-right: 81px;
                        text-align: right;
                    }

                    //操作
                    .col-action {
                        width: 80px;
                        text-align: center;
                    }
                }
            }

        }
    }
}

// 推荐
//按钮样式
.btn-line-primary {
    border-color: #ff6700;
    background: #fff;
    color: #ff6700;

    &:hover {
        color: #fff;
        background-color: #f25807;
        border-color: #f25807;
    }
}

.btn-small {
    width: 118px;
    height: 28px;
    font-size: 12px;
    line-height: 28px;
}

.car-container {
    .container-main {
        .car-recommend {
            margin: 60px 0 0;
        }
    }
}

.recommend-title {
    position: relative;
    margin: 0;
    height: 50px;
    font-size: 30px;
    font-weight: 400;
    color: #757575;
    border-top: 1px solid #e0e0e0;

    span {
        position: absolute;
        top: -20px;
        left: 372px;
        height: 40px;
        width: 482px;
        line-height: 40px;
        text-align: center;
        display: block;
        background-color: #f5f5f5;
    }
}

.recommend-list {
    margin: 0 0 0 -14px;
    padding: 0;
}

.recommend-item {
    float: left;
    width: 234px;
    height: 300px;
    padding: 0 20px;
    margin: 0 0 14px 14px;
    padding: 0;
    position: relative;
    overflow: hidden;
    list-style: none;
    background-color: #fff;
    text-align: center;

    img {
        display: block;
        margin: 40px auto 20px;
        width: 140px;
        height: 140px;
    }

    .recommend-name {
        margin: 0 10px 10px;
        height: 18px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        color: #333;
    }

    .recommend-price {
        margin-bottom: 10px;
        color: #ff6700;
    }

    .recommend-tips {
        position: relative;
        color: #757575;
    }

    a {
        color: #757575;
    }
}

.recommend-action {
    position: absolute;
    left: 0;
    bottom: 16px;
    width: 100%;
    opacity: 0;
    -webkit-transform: translate3d(0, 200%, 0);
    transform: translate3d(0, 200%, 0);
    -webkit-transition: all .4s;
    transition: all .4s;

    .btn {
        width: 120px;
    }
}

.recommend-notice {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    opacity: 0;
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
    -webkit-transition: all .2s linear;
    transition: all .2s linear;

    .btn {
        border-width: 0;
    }
}

.btn-green {
    background: #83c44e;
    border-color: #83c44e;
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}